package com.unicorn.modual.sso.controller;

import com.unicorn.base.BaseController;
import com.unicorn.base.Routes;
import com.unicorn.modual.sso.service.LoginService;
import com.unicorn.util.JsonResponse;
import com.unicorn.vo.UsersVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Created by Administrator on 2016/12/7.
 */
@RestController
public class LoginController extends BaseController {

    @Autowired
    private LoginService loginService;

    @RequestMapping(value = Routes.SYSTEM_SSO_LOGIN,method = RequestMethod.POST)
    public JsonResponse login(UsersVO usersVO,HttpServletRequest request, HttpServletResponse response)
    {

        return  null;
    }

}
